package com.base.hong.model

import com.stx.xhb.androidx.entity.BaseBannerInfo


data class BannerEntity(
    val desc: String,
    val id: Int,
    val imagePath: String,
    val isVisible: Int,
    val order: Int,
    val title: String,
    val type: Int,
    val url: String
) : BaseBannerInfo {
    override fun getXBannerUrl(): String = imagePath ?: ""

    override fun getXBannerTitle(): String = url ?: ""
}